'user strict';
const mongoose = require('mongoose');
const FoodSchema = require('./food.model.js');
const MerchantSchema = require('./merchant.model.js');
Schema = mongoose.Schema;

/**
 * Schema
 */
var FoodAdSchema = new Schema({
    food        : FoodSchema,
    merchant    : MerchantSchema,
    status      : String,
    applytime   : Date,
    autitTime   : Date,
});

mongoose.model('FoodAd', FoodAdSchema);